package com.fyx.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fyx.annotation.Query;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Transient;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class StayUserEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(exist = false)
    private List<Timestamp> qTime;

    @TableField(exist = false)
    private Boolean hasChildren = true;

    @TableField(exist = false)
    private Long deptId;

    @TableField(exist = false)
    private Set<Long> deptIds = new HashSet<>();

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Long time;

    private String channel;

    private String theFather;

    private Long EnterLoginScene; /**进入登录界面 */
    private Long ClickLogin;/**点击登录 */
    private Long EnterMainScene;  /**进入大厅 */

    //新增用户数
    private Integer newUserCount;

    //新增付费用户数
    private Integer newPayUserCount;

    //付费用户数
    private Integer payUserCount;

    //付费金额
    private Double payAmount;

    //新增用户付费金额
    private Double newUserPayAmount;

    //付费率
    private String payRate;

    //付费次数
    private Integer payCount;

    private String oneDay;

    private Integer oneDayNum;

    private Integer oneDayPayNum;

    private String twoDay;

    private Integer twoDayNum;

    private Integer twoDayPayNum;

    private String threeDay;

    private Integer threeDayNum;
    private Integer threeDayPayNum;
    private String fourDay;

    private Integer fourDayNum;
    private Integer fourDayPayNum;
    private String fiveDay;

    private Integer fiveDayNum;
    private Integer fiveDayPayNum;
    private String sixDay;

    private Integer sixDayNum;
    private Integer sixDayPayNum;
    private String sevenDay;

    private Integer sevenDayNum;
    private Integer sevenDayPayNum;
    private String fourteenDay;

    private Integer fourteenDayNum;
    private Integer fourteenDayPayNum;
    private String thirtyDay;

    private Integer thirtyDayNum;
    private Integer thirtyDayPayNum;
    private String sixtyDay;

    private Integer sixtyDayNum;
    private Integer sixtyDayPayNum;
  //  private String belong;

}
